# -*- coding:utf-8 -*-
#Author LJ 
#Mail:admin@attacker.club
#Site:blog.attacker.club
#description

import time

#将字符串追加写入文件
def run_fun():
    for  i in range (1000):
        file_io = open("test.txt","a+")  #追加写入
        file_io.write("blog.attacker.club \n") #填入数据
        file_io.close()



start = time.time() #脚本开始时间

run_fun()

end = time.time() #结束时间
print end-start,"s"

